/**
 * Created by hms on 2020-08-18.
 */
import Vue from 'vue';
import Vuex from 'vuex'

//挂载
Vue.use(Vuex);

import { Login } from './modules/Login.js';
import { Menu } from './modules/Menu.js';
import { Page } from './modules/Page.js';

//创建VueX对象
const store = new Vuex.Store({
    state:{
        //分页配置
        page_sizes:[20,50,100],
        //默认页面条数,
        default_page_size:20,
    },
    modules:{
      Login,
      Menu,
      Page
    }
})
export default store
